package org.comanche.snaf.net.nio;

import java.nio.channels.SocketChannel;

import org.comanche.snaf.core.service.Processor;
import org.comanche.snaf.core.session.IoSession;

public class NioSession implements IoSession {
	////////////////////////////////////////////////////////
	// property member
	// processor
	Processor processor;
	// socket channel
	SocketChannel channel;
	// 
	
	////////////////////////////////////////////////////////
	// constructor
	public NioSession(Processor processor, SocketChannel channel){
		this.processor = processor;
		this.channel = channel;
	}
	
	
	
	////////////////////////////////////////////////////////
	// interface 
	
	public void write(Object message) {
		// TODO Auto-generated method stub

	}

	public Object read() {
		// TODO Auto-generated method stub
		return null;
	}

	public void setAttribute(Object key, Object obj) {
		// TODO Auto-generated method stub

	}

	public Object getAttribute(Object key) {
		// TODO Auto-generated method stub
		return null;
	}
	
	public SocketChannel getChannel(){
		return channel;
	}

}
